<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\YdSyncLog */

$this->params['breadcrumbs'][] = ['label' => 'Yd Sync Logs', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="yd-sync-log-view">

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
//             '_id',
    		'goods_id',
    		'goods_name',
    		
    		[
    		'attribute' => 'log_type',
    		'value'=>$model->getTypes($model->log_type)
    		],
            'message',
    		[
    		'attribute' => 'log_time',
    		'value'=>date('Y-m-d H:i:s', $model->log_time)
    		],
            'ip',
            'server',
            'user_id',
            'user_name',
            'site_id',
            'system',
            
        ],
    ]) ?>

</div>
